﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace BigInteger
{
    public partial class frmMain : Form
    {
        public frmMain()
        {
            InitializeComponent();
        }

        private void btnProcess_Click(object sender, EventArgs e)
        {
            Solver solver = new Solver();
            solver.ReadInput(txtInput.Text);
            solver.ComputeValue();

            txtFormula.Text = solver.Formula;
            txtResult.Text = solver.Result;
        }
    }
}
